//
//  BBSwichViewModel.h
//  BBKit
//
//  Created by apple on 2019/7/1.
//  Copyright © 2019年 baobao. All rights reserved.
//

#import "BBBaseViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BBSwichViewModel : BBBaseViewModel

@property(nonatomic,strong,readonly) BBSwichViewModel *(^ on)(BOOL on);
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ onTintColor)(UIColor *onTintColor);
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ thumbTintColor)(UIColor *thumbTintColor);

@property(nonatomic,strong,readonly) BBSwichViewModel *(^ onImage)(UIImage *onImage);
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ offImage)(UIImage *offImage);

#pragma mark - # UIControl
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ enabled)(BOOL enabled);
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ selected)(BOOL selected);
@property(nonatomic,strong,readonly) BBSwichViewModel *(^ highlighted)(BOOL highlighted);

@property(nonatomic,strong,readonly) BBSwichViewModel *(^ eventBlock)(UIControlEvents controlEvents, void (^eventBlock)(id sender));

@end

NS_ASSUME_NONNULL_END
